﻿using Coldairarrow.Entity.BTB_StaffUsers;
using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.Statistics;
using Coldairarrow.Util;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.IBusiness.BTB_StaffUsers
{
    public interface IBTB_UserVisitBusiness
    {
        UserDTO IP();
        VisitorDTO UV();
        SalesDTO Sales();
        int Getnotification();
        SalesVolumeDTO SalesVolume();
        ClinchOrderDTO GetOrder();
        TodoDTO GetTodo();
        Task GetIP();
        Task<PayDTO> GetPayStatse(PayStatseDTO input);
        Task AddDataAsync(BTB_UserVisit data);
        #region 获取销售数量统计数据

        /// <summary>
        /// 获取销售数量统计数据
        /// </summary>
        /// <param name="Year">年份</param>
        /// <returns></returns>
        List<LinChartStatistical> GetDayGoodsNumber(int Year);

        #endregion

        #region 获取销量统计数据
        /// <summary>
        /// 获取销量统计数据
        /// </summary>
        /// <param name="Year">年份</param>
        /// <returns></returns>
        List<LinChartStatistical> GetDayOrderPrince(int Year);
        #endregion

    }
}
